package fr.ajicommerce.managedBean;

import java.util.List;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import fr.ajicommerce.FrontOffice;
import fr.ajicommerce.PanierSession;
import fr.ajicommerce.core.dto.LigneProduitDTO;
import fr.ajicommerce.core.service.facade.Facade;
import fr.ajicommerce.test.initbase.InitBase;

@Component("gestPanierBean")
@Scope("session")
public class GestPanierBean extends FrontOffice {

	@Autowired
	private Facade facade;
	


//// A supprimer en prod
//	@PostConstruct
//	public void init()
//	{
//		InitBase initBase = new InitBase();
//		initBase.init();
//	}
	
	
	
	public String commander()
	{
		return "/FrontOffice/gest_carteDeCredit.xhtml";
	}

	public Facade getFacade() {
		return facade;
	}



	public void setFacade(Facade facade) {
		this.facade = facade;
	}



	
	
	
	
	
}
